import './assets/main.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'

window.idLogin = false;
window.loginData = null;
tools.ipcInvoke('existsSync', './../../loginData.json').then(res => {
  if (res) {
    window.idLogin = true;
  }
  const app = createApp(App)

  app.use(createPinia())
  app.use(router)
  app.mount('#app')
})


